require.config({
  baseUrl: '/',
  paths: {
    'jquery': 'libs/jquery/jquery-3.4.1.min',
    'header': 'js/modules/header',
    'footer': 'js/modules/footer',
    'dropdown': 'js/modules/dropdown',
    'search': 'js/modules/search',
    'detail': 'js/modules/detail',
    'template': 'libs/art-template/template-web',
    'url':  'js/modules/url',
    'request': 'js/modules/request',
    'zoom': 'libs/jquery-plugins/jquery.elevateZoom-3.0.8.min',
    'fly': 'libs/jquery-plugins/jquery.fly.min',
    'cookie': 'libs/jquery-plugins/jquery.cookie',
    'swiper':'libs/swiper/js/swiper.min'
  },
    // 垫片： 如果一个模块不满足AMD规范，并且要依赖另外一个模块
    shim: {
      'zoom': {
        deps: ['jquery']
      },
      'fly': {
        deps: ['jquery']
      },
      'cookie': {
        deps: ['jquery']
      }
    }

})